package Day003_多态_内部类.demo002多态时成员访问特点;

public class Cat extends Animal {// 继承
    //方法重写
    public void eat(){
        System.out.println("吃鱼");
    }
}
